# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=glacier-calc
pkgver=0.3.1
pkgrel=0
pkgdesc="The Glacier calculator"
url="https://github.com/nemomobile-ux/glacier-calc"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="BSD-3-Clause"
depends="qtquickcontrols-nemo"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev libglacierapp-dev"
source="https://github.com/nemomobile-ux/glacier-calc/archive/$pkgver/glacier-calc-$pkgver.tar.gz
	remove-mapplauncherd-dep.patch
	"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="511dbf9649052df3c5bd17eb2194b946de121f1f90e310d8183fb8340e3f9b7444df66fd645b4f2528dc0ad35e33d6a9777fee1fec30174fa734607a182b6652  glacier-calc-0.3.1.tar.gz
dab23cc69c8ad82cf3e02a60f724bd1ad2ff7a630f834328da9a4cb3c5373de519a278e7c181840d0ca3ee9258c514b4aa2bf61fbed1821d6145fb5a9649c7a3  remove-mapplauncherd-dep.patch"
